package org.springblade.modules.platform.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DeptInfoTableDTO {

    /**
     * 部门类型
     */
    @ApiModelProperty(value = "部门类型 1：单位；2 测量量；3：测台")
    private Integer deptCategory;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "部门名")
    private String deptName;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;




    @ApiModelProperty(value = "部门编号")
    private Integer id;

    @ApiModelProperty("父主键")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer parentId;

    @ApiModelProperty(value = "测台")
    private DeptBenchInfoDTO deptBenchInfoDTO;

    @ApiModelProperty(value = "测量链")
    private DeptMeasuringInfoDTO deptMeasuringInfoDTO;

    @ApiModelProperty(value = "单位")
    private DeptTypeInfoDTO deptTypeInfoDTO;




}
